package com.fulihui.systemcore.request.apitemplate;

import org.near.servicesupport.request.AbstractServiceRequest;


/**
 * Created by  lz on 2017-5-31.
 */
public class ApiTemplateCreateRequest extends AbstractServiceRequest {

    private static final long serialVersionUID = -2367623429149642610L;
     private String            apiCode;

    private String            targetUrl;

    private String            httpMethod;

    private String            contentType;

    private String            inencoding;

    private String            outencoding;

    private Long              connectionTimeout;

    private Long              soTimeout;

    /**
     * Gets api code.
     *
     * @return the api code
     */
    public String getApiCode() {
        return apiCode;
    }

    /**
     * Sets api code.
     *
     * @param apiCode the api code
     */
    public void setApiCode(String apiCode) {
        this.apiCode = apiCode;
    }

    /**
     * Gets target url.
     *
     * @return the target url
     */
    public String getTargetUrl() {
        return targetUrl;
    }

    /**
     * Sets target url.
     *
     * @param targetUrl the target url
     */
    public void setTargetUrl(String targetUrl) {
        this.targetUrl = targetUrl;
    }

    /**
     * Gets http method.
     *
     * @return the http method
     */
    public String getHttpMethod() {
        return httpMethod;
    }

    /**
     * Sets http method.
     *
     * @param httpMethod the http method
     */
    public void setHttpMethod(String httpMethod) {
        this.httpMethod = httpMethod;
    }

    /**
     * Gets content type.
     *
     * @return the content type
     */
    public String getContentType() {
        return contentType;
    }

    /**
     * Sets content type.
     *
     * @param contentType the content type
     */
    public void setContentType(String contentType) {
        this.contentType = contentType;
    }

    /**
     * Gets inencoding.
     *
     * @return the inencoding
     */
    public String getInencoding() {
        return inencoding;
    }

    /**
     * Sets inencoding.
     *
     * @param inencoding the inencoding
     */
    public void setInencoding(String inencoding) {
        this.inencoding = inencoding;
    }

    /**
     * Gets outencoding.
     *
     * @return the outencoding
     */
    public String getOutencoding() {
        return outencoding;
    }

    /**
     * Sets outencoding.
     *
     * @param outencoding the outencoding
     */
    public void setOutencoding(String outencoding) {
        this.outencoding = outencoding;
    }

    /**
     * Gets connection timeout.
     *
     * @return the connection timeout
     */
    public Long getConnectionTimeout() {
        return connectionTimeout;
    }

    /**
     * Sets connection timeout.
     *
     * @param connectionTimeout the connection timeout
     */
    public void setConnectionTimeout(Long connectionTimeout) {
        this.connectionTimeout = connectionTimeout;
    }

    /**
     * Gets so timeout.
     *
     * @return the so timeout
     */
    public Long getSoTimeout() {
        return soTimeout;
    }

    /**
     * Sets so timeout.
     *
     * @param soTimeout the so timeout
     */
    public void setSoTimeout(Long soTimeout) {
        this.soTimeout = soTimeout;
    }
}
